// 通过axios做网络请求（建议使用）

    import request from '../config/request'
    export function getWarehouse() {
        return request({
            url: '/member/supplier/member/getWarehouse',
            method: 'GET'
        })
    }


export function getConnectMember() {
  return request({
    url: '/member/supplier/member/getConnectMember',
    method: 'GET'
  })
}

export function getNotConnectMember() {
  return request({
    url: '/member/supplier/member/getNotConnectMember',
    method: 'GET'
  })
}

export function addMember(data) {
  return request({
    url: '/member/supplier/member/addMember',
    data: data,
    method: 'POST'
  })
}

export function updateWarehouseUserStatus(data) {
  return request({
    url: '/member/seller/myOrder/updateWarehouseUserStatus',
    data: data,
    method: 'PUT'
  })
}

export function updateWuliuUserStatus(data) {
  return request({
    url: '/member/seller/myOrder/updateWuliuUserStatus',
    data: data,
    method: 'PUT'
  })
}
